The Tab View Component > FTabView.setItemSymbol()

 

FTabView.setItemSymbol()

Availability

Flash Player 6.

Usage

myTab_tbv.setItemSymbol (linkage)

Parameters

linkage A string specifying a symbol linkage id, which points to the symbol which should be used to create the tabs.

Returns


Nothing

Description

Specifies the symbol in the library that will be used to create the tabs. When this method is called the component will automatically redraw using the new symbol specified by the linkage id to create the tabs. This method allows you to change the symbol used as the graphics for the tabs.

Example

The tab_example2.fla example file contains an example of using this method.

The following code sets the item symbol, and then traces its value.

myTab_tbv.setItemSymbol( "ftv_tab" );
trace( "Item Symbol: " + myTab_tbv.getItemSymbol( ) ); //traces "Item Symbol: ftv_tab"

See also

FTabView.getItemSymbol()